package com.kcsj.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
@AllArgsConstructor
public class PayType implements Comparable<PayType>{
    private String description;
    private Integer id;

    @Override
    public int compareTo(PayType o) {
        return this.id-o.id;
    }
}
